package com.qf.kady.ssm.service;

import com.qf.kady.ssm.entity.ResultVO;
import com.qf.kady.ssm.pojo.Book;
import com.qf.kady.ssm.pojo.DropLog;

import java.util.List;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: kady
 * \* Date: 2021/4/21
 * \* Time: 11:50
 * \* 千峰JAVA2101班
 * \* Description: 书业务层接口
 * \
 */
public interface BookService {

    List<Book> getBookListByCondition(String keyword,Long readerId,Long readerIdForLendFilter);
    Book getBookDetailById(Long bookId);
    boolean updateBook(Book book);
    boolean addBook(Book book);
    ResultVO deleteBook(Long bookId);
    ResultVO updateBookAndDropLog(DropLog dropLog,Long plusCount);
}
